package cn.flying.cloud;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;

/**
 * 网关启动类
 *
 * @author: admin
 * @date: 2022年04月13日 00:04
 * @version: 1.0
 */
@EnableDiscoveryClient
@SpringBootApplication(scanBasePackages = {"cn.flying.**"})
public class GatewayApplication {
    private static final Logger logger = LoggerFactory.getLogger(GatewayApplication.class);

    public static void main(String[] args) {
        SpringApplication.run(GatewayApplication.class, args);
        logger.info("=======================网关服务启动成功！=========================");
    }
}